package com.hlf.modules.wechat.model;

import com.hlf.modules.base.entity.BaseModel;

/**
 * 用户公众号关联实体类
 * 
 * @author shuliangxing
 *
 * @date 2017年4月19日 上午9:23:09
 */
public class UserOfficial extends BaseModel {

    /**
     *
     */
    private static final long serialVersionUID = -734168969492852361L;

    private Long userId;

    private String officialAccountId;

    private String openId;

    private Integer followStatus;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOfficialAccountId() {
        return officialAccountId;
    }

    public void setOfficialAccountId(String officialAccountId) {
        this.officialAccountId = officialAccountId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public Integer getFollowStatus() {
        return followStatus;
    }

    public void setFollowStatus(Integer followStatus) {
        this.followStatus = followStatus;
    }

    @Override
    public String toString() {
        return "UserOfficial [userId=" + userId + ", officialAccountId=" + officialAccountId + ", openId=" + openId
                + ", followStatus=" + followStatus + "]" + super.toString();
    }

}